Coursework

Coursework

Deadline

Both pieces of coursework will have a deadline of 3 April 2020 at 11.59pm, which is the Tuesday before the ninth lecture of the term.

I strongly recommend you try and get on with the coursework much sooner than that as it is heavily biased towards the first half of the course

Coursework 1

Design a random number generator on the interval $U(0,1)$

Show using statistical tests that it generates effective pseudo random numbers in terms of their distribution and their independence.

If you choose to use a linear congruential generator then must enter the value a,c and m below and you cannot use any values that other students have already used or any values that are already loaded in the system

Your answer should be 2 sides of A4 which specifies precisely the algorithm you have used and the results of the statistical tests you have done and what these results show.

You may work in the groups you have been assigned for the course


Group number
Parameter a
Parameter c
Parameter modulus

Coursework 2

Build an excel spreadsheet (you may use other languages if you wish but the code you have written must be visible) to perform Monte Carlo calculations of the following options:

Your spreadsheet should be set up so that a user can enter different values for the parameters of the options and be able to calculate the value of the options

You will submit your work as an actual working spreadsheet.

Marks will be awarded for speed and accuracy as well as basic correctness

You may work in the groups you have been assigned for the course

You can find an excel template for your answers here